package com.bjsxt.livegoods.buyaction.service.controller;

import com.bjsxt.livegoods.buyaction.service.service.BuyactionService;
import com.jiang.livegoods.buyaction.serviceapi.BuyactionServiceAPI;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class BuyactionServiceController implements BuyactionServiceAPI {
    @Autowired
    private BuyactionService buyactionService;

    @Override
    public Map<String, Object> buyaction(String id, String user) {
        return buyactionService.buyaction(id,user);
    }
}
